class Isci2 implements Runnable {
	String name;

	public Isci2(String name) {
		this.name = name;
	}

	public void run() {
		for (int i = 0; i < 5; i++) {
			System.out.println(name + "-->" + i);
		}
	}
}

public class OrnekBirRunnable {
	public static void main(String args[]) {

		Thread i1 = new Thread(new Isci2("Isci1"));
		Thread i2 = new Thread(new Isci2("Isci2"));

		i1.start(); // dikkat
		i2.start(); // dikkat
	}

	void deneme() {

	}
}
